package com.example.bzh.gamecat.ui.society.allsociety;

import com.example.bzh.gamecat.bean.AllSocietyBean;
import com.example.bzh.gamecat.httputils.societyutils.AllSocietyHttpUtil;
import com.example.bzh.gamecat.mvp.IBaseModel;
import com.example.bzh.gamecat.mvp.IBasePresenter;
import com.example.bzh.gamecat.mvp.IBaseView;

import java.util.HashMap;

/**
 * Created by MyPC on 2016/8/16.
 */
public class AllSocietyContract {
    public interface IView extends IBaseView{
        public void OnSeccessAllSociety(AllSocietyBean allSocietyBean);
        public void OnFailAllSociety(String str);
    }

    public interface IPresenter extends IBasePresenter{
        public void initData(HashMap<String,String> params);
    }

    public interface IModel extends IBaseModel{
        public void getAllSociety(HashMap<String,String> params, AllSocietyHttpUtil.HttpCallBack<AllSocietyBean> callBack);
    }
}
